<style lang='scss' type='stylesheet/scss' scoped>
.as-input {
  margin-bottom: 10px;
}
</style>
<template>
  <as-card :text="text"
           title="v-model 绑定布尔值">
    <as-switch v-model="open"></as-switch>
  </as-card>
</template>

<script type="text/ecmascript-6">
import { mapGetters } from "vuex";
export default {
  name: "",
  computed: {
    ...mapGetters(["isMobile"])
  },
  data() {
    return {
      open: false,
      text: `<template>
   <as-switch v-model="open"></as-switch>
 </template>
 <script>
   export default {
     data() {
       return {
         open: false
       }
     }
   }
 <\/script>`
    };
  },
  methods: {}
};
</script>
